package cn.hallele.leinsteining.mc.infrastructure.data.generator;

import org.hibernate.annotations.IdGeneratorType;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * RandomSequence
 *
 * @author anle5
 * @since 2024/8/4 21:13
 */
@Retention(RUNTIME)
@Target({METHOD, FIELD})
@IdGeneratorType(RandomGenerator.class)
public @interface RandomSequence {
    String name();
}
